package com.example.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.pojo.entity.User;

import java.util.List;


public interface UserMapper extends BaseMapper<User> {
    User findById(long userId);

    List<User> findByPasswordPage(String password, Page page);
}
